package com.tx.websocket.demo.service;

import com.tx.websocket.demo.model.Department;

import java.util.List;

public interface DepartmentService {

    Integer addDepartment(Department department);

    List<Department> listDepartment(Department department);

    Department getDepartmentByPrimaryKey(Long id);

    Integer delDepartmentByPrimaryKey(Long id);

    Integer updateDepartment(Department department);

}
